home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Magazin: Amiga-CD 1997 November & December
/
Amiga-CD 1997 #11-12.iso
/
pd-disketten
/
dms-gepackt
/
9_95
/
apd-9-95-2.dms
/
apd-9-95-2.adf
/
PNG_dt
/
Install-PNG
< prev
next >
Wrap
Text File
|
1995-06-05
|
1KB
|
46 lines
; $VER: InstallPNG 1.0
; Cloanto PNG DataType Installer Script
; Copyright © Cloanto Italia srl 1995
; Cloanto is a registered trademark of Cloanto Italia srl
; "Installer and Installer project icon Copyright © 1991-1993 Commodore-Amiga, Inc. All Rights Reserved
; Reproduced and distributed under license from Commodore"
; New installer icon design Copyright © 1994 Cloanto Italia srl
(if (< (/ (getversion "icon.library" (resident)) 65536) 39) (message "\nDataTypes require Amiga OS 3.0 or higher."))
(if (AND (>= (+ (database "cpu")) 68020) (= (exists "Classes/DataTypes/png.datatype.020") 1))
(set png_datatype "png.datatype.020")
(set png_datatype "png.datatype")
)
(working "Installing PNG DataType")
(if (<> (exists "SYS:Classes") 2) (makedir "SYS:Classes" (infos)) )
(copyfiles
(prompt "Copying Format Descriptors")
(help @copyfiles-help)
(source "Devs/DataTypes")
(dest "DEVS:DataTypes")
(all)
(infos)
(optional "nofail" "force")
(confirm)
)
(copylib
(prompt "Copying PNG.datatype")
(help @copylib-help)
(source (tackon "Classes/DataTypes" png_datatype))
(dest "SYS:Classes/DataTypes")
(newname "PNG.datatype")
(optional "nofail" "force")
(confirm)
)
(run "C:AddDataTypes QUIET REFRESH")
(message "\nInstallation complete.\n\nDouble-click on \"Test.png\" to test.")
(exit (quiet))